package com.aj.mapper;

import java.util.List;

import com.aj.entity.TAddRequest;
import com.aj.entity.TDeleteRequest;
import com.aj.entity.Tag;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author aj
 * @since 2020-08-03
 */
public interface TagMapper extends BaseMapper<Tag> {
	public List<Tag> getList();
	public Long getIdByValue(String value);
	public void addATag(TAddRequest t);
	public long addTag(Tag t);
	public void deleteRelation(TDeleteRequest t);
	public List<Tag> getTagByAid(long aid);
}
